
<?php $this->load->view('header'); ?>
<div id="MiddleBar">



<select name="field" onchange='$.ajax({url: "http://localhost/pzzazz.php/test/nsd/nsd_ajax/", data: $(this.elements).serialize(), success: function(response){$("#idtoupdate").html(response);}, type: "POST", dataType: "html"}); return false;' method="POST">

<form action="http://localhost/pzzazz.php/test/nsd/nsd_ajax" method="post">
<select name="field" onchange=$.ajax({url: 'http://localhost/pzzazz.php/test/nsd/', success: function(response){$('#field').html(response);}, dataType: 'html'})>
<option value="191">validator_list</option>
<option value="190">unique</option>
<option value="189">null</option>
<option value="188">hidden</option>
<option value="187">help_text</option>

<option value="186">editable</option>
<option value="185">default</option>
<option value="184">choices</option>
<option value="183">blank</option>
</select>
<div id="idtoupdate">Update ME(Ajax form)</div><input type="hidden" name="191" value="required|matches[ChengeMe]|min_length[ChengeMe]|max_length[ChengeMe]|exact_length[ChengeMe]|alpha|alpha_numeric|alpha_dash|numeric|valid_email|valid_ip" maxlength="500" size="80" id="191"  />
<input type="hidden" name="187" value="Replace Me" maxlength="500" size="8" id="187"  />
<input type="hidden" name="185" value="Change Me" maxlength="500" size="8" id="185"  />
<input type="hidden" name="184" value="Change Me" maxlength="500" size="8" id="184"  />
<input type="submit" /></form>



<?php
echo $body;
$this->load->view('footer');
?>
